//
//  ProductClassifyCell.m
//  nmrsc
//
//  Created by xumckay on 16/1/15.
//  Copyright © 2016年 bric. All rights reserved.
//

#import "ProductClassifyCell.h"

@implementation ProductClassifyCell


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

        _mapView=[[UIImageView alloc]initWithFrame:CGRectMake(15,15,30,40)];
        _mapView.contentMode=UIViewContentModeScaleAspectFit;
        [_mapView setImage:[UIImage imageNamed:@"dog.jpg"]];
        [self.contentView addSubview:_mapView];
        
        _titleLabel=[[UILabel alloc]initWithFrame:CGRectMake(50,15,kDeviceWidth-50,16)];
        _titleLabel.font=[UIFont systemFontOfSize:16];
        _titleLabel.text=@"看什么看，没看见帅锅啊 ⁄(⁄ ⁄•⁄ω⁄•⁄ ⁄)⁄";
        _titleLabel.textAlignment=NSTextAlignmentLeft;
        _titleLabel.textColor=[UIColor blackColor];
        [self.contentView addSubview:_titleLabel];
        
        _descLabel=[[UILabel alloc]initWithFrame:CGRectMake(50,40,kDeviceWidth-50,13)];
        _descLabel.text=@"你造什么叫黄毛大柴犬吗？";
        _descLabel.textColor=COLOR(180, 180, 180, 1);
        _descLabel.font=[UIFont systemFontOfSize:13];
        [self.contentView addSubview:_descLabel];
        
        UIImageView *arrow=[[UIImageView alloc]initWithFrame:CGRectMake(kDeviceWidth-15-8.5,35-7.5,8.5,15)];
        [arrow setImage:[UIImage imageNamed:@"right-2"]];
        [self.contentView addSubview:arrow];

        UIView *lineView=[[UIView alloc]initWithFrame:CGRectMake(0,69.5,kDeviceWidth,0.5)];
        lineView.backgroundColor=COLOR(200, 200, 200, 1);
        [self.contentView addSubview:lineView];
        
        UIView *lineView1=[[UIView alloc]initWithFrame:CGRectMake(0,0,kDeviceWidth,0.5)];
        lineView1.backgroundColor=COLOR(200, 200, 200, 1);
        [self.contentView addSubview:lineView1];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
